<%@ page import="pl.dmcs.grails.EmployeeCategory" %>



<div class="fieldcontain ${hasErrors(bean: employeeCategoryInstance, field: 'name', 'error')} required">
	<label for="name">
		<g:message code="employeeCategory.name.label" default="Name" />
		<span class="required-indicator">*</span>
	</label>
	<g:textField name="name" required="" value="${employeeCategoryInstance?.name}"/>

</div>

<div class="fieldcontain ${hasErrors(bean: employeeCategoryInstance, field: 'employees', 'error')} ">
	<label for="employees">
		<g:message code="employeeCategory.employees.label" default="Employees" />
		
	</label>
	<g:select name="employees" from="${pl.dmcs.grails.Employee.list()}" multiple="multiple" optionKey="id" optionValue="fullName" size="5" value="${employeeCategoryInstance?.employees*.id}" class="many-to-many"/>
</div>

